﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Student
    {
        public string Name { get; set; }
        public int Age { get; set; }
        public int Num { get; set; }

        public Student(string name, int age, int num)
        {
            Name = name;
            Age = age;
            Num = num;
        }
        public Student()
        { 
        }

        public override string ToString()
        {
            return $"姓名:{Name},年龄:{Age},学号：{Num}";
        }
    }
}
